from django.urls import path

from user import views

app_name = 'user'

urlpatterns = [
    # 短信接口
    path('sms/', views.send_sms),
    
    # 注册接口
    path('register/', views.register),

    # 修改密码接口
    path('password/', views.chgpsd),

    path('login/', views.login),

    path('avatar/', views.avatar),

    path('<int:pk>/', views.UserView.as_view())
]
